package com.haixiaoke.saas.common.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @Author panda
 * @Date 2024/4/13
 **/
@Data
@Configuration
public class WeChatConfig {

    /**
     * 下单api
     */
    @Value("${wechat.unifiedOrderUrl}")
    private String unifiedOrderUrl;

    /**
     * 退款api
     */
    @Value("${wechat.refundOrderUrl}")
    private String refundOrderUrl;

    /**
     * 公寓短租下单回调地址
     */
    @Value("${wechat.apartmentPayCallBackUrl}")
    private String apartmentPayCallBackUrl;

    /**
     * 补缴回调地址
     */
    @Value("${wechat.supplementaryPaymentCallBackUrl}")
    private String supplementaryPaymentCallBackUrl;

    /**
     * 订单退订回调地址
     */
    @Value("${wechat.cancelReservationCallBackUrl}")
    private String cancelReservationCallBackUrl;

    /**
     * 订单退房回调地址
     */
    @Value("${wechat.checkOutCallBackUrl}")
    private String checkOutCallBackUrl;

    @Value("${wechat.appId}")
    private String appId;

    /**
     * 业主账单支付回调地址
     */
    @Value("${wechat.proprietorBillPayCallBackUrl}")
    private String proprietorBillPayCallBackUrl;

    /**
     * 房屋账单支付回调地址
     */
    @Value("${wechat.houseBillPayCallBackUrl}")
    private String houseBillPayCallBackUrl;

    /**
     * 工单扫码支付回调地址
     */
    @Value("${wechat.workOrderNativePayCallBackUrl}")
    private String workOrderNativePayCallBackUrl;
    /**
     * 工单小程序支付回调地址
     */
    @Value("${wechat.workOrderUnifiedPayCallBackUrl}")
    private String workOrderUnifiedPayCallBackUrl;
}
